<?php
/**
 * 客户验证
 * @Author: wjf
 * @Date: 2022-11-26 14:51:23
*/

namespace app\crm\validate\customer;

use think\Validate;

class Record extends Validate
{
    protected $rule =   [
        'content'  => 'require',
        'next_time' => 'date',   
        'record_type' => 'require|integer'
    ];
    
    protected $message  =   [
        'content.require' => '跟进内容不能为空',
        'next_time.date' => '下次跟进时间格式不对',
		'record_type.require' => '跟进类型不能为空'
    ];
    
}